package com.example;

import com.example.utils.MinioUtil;

import javax.servlet.http.HttpServletResponse;

/**
 * @author cc
 * @classname ${NAME}
 * @description TODO
 * @date ${DATE} ${TIME}
 */
public class Main {
    public static void main(String[] args) {
       /* String objectPath = "C:\\Users\\陈臣\\Pictures\\Saved Pictures\\105506-156004890673db.jpg";
        String filePath = MinioUtil.uploadObject(objectPath);
        System.out.println(filePath);*/

        System.out.println(MinioUtil.getPreviewUrl("2020481.jpg"));
        //MinioUtil.downloadLocal("105506-156004890673db.jpg");
    }
}